import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "DayDayUp",
  description: "DayDayUp",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: '主页', link: '/' },
      { text: '刷题', link: '/ti/html/' },
      { text: 'LeetCode', link: '/leetcode/' },
      { text: '架构思考', link: '/thinking/thinking' },
    ],
    search: {
      provider: 'local'
    },
    sidebar: {
      '/ti/': [
        {
          text: 'HTML',
          collapsed: false,
          items: [
            { text: 'Html', link: '/ti/html/' },
          ]
        },
        {
          text: 'CSS',
          collapsed: false,
          items: [
            { text: 'Css', link: '/ti/css/' },
          ]
        },
        {
          text: 'Javascript',
          collapsed: false,
          items: [
            { text: '基础', link: '/ti/javascript/' },
          ]
        }
      ]
    },

    socialLinks: [
      { icon: 'github', link: 'https://gitee.com/daydayup_8/blog' }
    ],
    footer: {
      message: '备案号：京ICP备16021705号-1',
      copyright: 'Copyright © 2024-present Alizeegod'
    }
  }
})
